﻿using FluentValidation;

namespace ShuiLing.Application.Test;

public class TestCommandValidation : AbstractValidator<TestCommand>
{
    public TestCommandValidation()
    {
        RuleFor(x => x.Name)
            .MaximumLength(2);
    }
}
